// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import Vuex from 'vuex'
import store from './vuex/store'
import Config from './api/Config'
import Api from './api/api'
import axios from 'axios'
import VueAxios from 'vue-axios'
import WeUi from 'vue-weui'
import './assets/css/iconfont.css'


import 'vue-awesome/icons'

/* Register component with one of 2 methods */

import Icon from 'vue-awesome/components/Icon'

// globally (in your main .js file)


import Vant from 'vant';
import 'vant/lib/vant-css/index.css';
Vue.use(WeUi)
Vue.use(Vant);
Vue.use(Config)
Vue.use(Api)
Vue.use(MintUI)
Vue.use(Vuex)
Vue.use(VueAxios, axios)
Vue.component('icon', Icon)






Vue.prototype.$axios= axios
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
})


